.chat-wrap {
    width: 1020px;
    display: block;
}
.chat-contL {
    width: 300px;
    height: 803px;
    border: 1px solid #ddd;
    background-color: #fff;
    margin-right: 20px;
    position: relative;
    overflow: hidden;
}
.chat-contR {
    width: 700px;
    height: 800px;
    border: 1px solid #ddd;
    background-color: #fff;
    overflow: hidden;
}
.chat-contL-normal {
    width: 300px;
    height:50px;
    overflow: hidden;
    border-bottom: 1px solid #ddd;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
}
.chat-contL-IM {
    width: 300px;
    height: 700px;
    overflow: hidden;
    border-top: 1px solid #ddd;
}
/* 未加入左侧列表高度 */
.chatOut-contL-IM {
    width: 300px;
    height: 700px;
    overflow: hidden;
    border-top: 1px solid #ddd;
}
.chat-contL-list {
    width: 100%;
    height: 700px;
    overflow: hidden;
}
.chatIn-contL-IM {
    width: 300px;
    height: 750px;
    overflow: hidden;
    border-top: 1px solid #ddd;
}
.chatClose-contL-IM {
    width: 300px;
    height: 750px;
    overflow: hidden;
    border-top: 1px solid #ddd;
}
.chatClose-contL-IM .chat-contL-list{
    width: 300px;
    height: 750px;
    overflow: hidden;
}
.chatIn-contL-IM .chat-contL-list {
    width: 100%;
    height: 750px;
    overflow-y: scroll;
}
.chat-contL-danger {
    width: 300px;
    height:50px;
    overflow: hidden;
    border-bottom: 1px solid #ddd;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
}
.chat-contL-close {
    width: 300px;
    height:50px;
    overflow: hidden;
    border-bottom: 1px solid #ddd;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
}
.chat-contL-list {
    display: none;
    height: 700px;
    width: 100%;
    overflow: hidden;
}
.chat-contL-group {
    width: 300px;
    height: 50px;
    line-height: 50px;
    text-indent: 30px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    cursor: pointer;
}
.chat-active {
    height: auto;
}
.chat-active .chat-contL-list {
    display: block;
}
.chat-contL-item {
    width: 100%;
    height: 50px;
    line-height: 50px;
    overflow: hidden;
    cursor: pointer;
}
.chatIn-contL-item {
    text-align: center;
    position: relative;
}
.chatIn-contL-item span {
    display: none;
    width: auto;
    height: 24px;
    line-height: 24px;
    padding: 0 8px;
    background-color: #da4c3c;
    position: absolute;
    top: 12px;
    right: 90px;
    color: #ffffff;
    border-radius: 5px;
}
.chat-contL-list .active {
    background-color: #2da5ee;
    color: #fff;
}
.chat-contL-groupPic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin:5px 15px;
    background-color: #fafafa;
    overflow: hidden;
}
.chat-contL-groupPic img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    vertical-align: top;
}
.chat-contL-groupName {
    width: 180px;
    height: 50px;
    line-height: 50px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.chat-contL-status {
    width: 20px;
    height: 20px;
    margin-top: 15px;
    background-image: url("/static/images/icon_phone.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
.chat-contR-top {
    width: 100%;
    height: 110px;
    border-bottom: 1px solid #ddd;
    overflow: hidden;
}
.chat-contR-top h4 {
    width: auto;
    height: 60px;
    line-height: 70px;
    margin-left: 20px;
}
.chat-contR-top h4 button {
    display: inline-block;
    margin-bottom: 40px;
}
.chat-contR-top h4 span:first-child {
    display: inline-block;
    height: 60px;
    max-width: 540px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.chat-contR-top p {
    width: auto;
    height: 50px;
    line-height: 40px;
    margin-left: 20px;
}
.chat-contR-top ul {
    width: 100%;
    height: auto;
}
.chat-contR-top li {
    width: 50%;
    height: 30px;
    float: left;
    text-indent: 20px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.chat-contR-mid {
    width: 100%;
    height: 520px;
}
.chat-contR-bottom {
    width: 100%;
    height: 170px;
    border-top: 1px solid #ddd;
    position: relative;
}
.chat-contR-operate {
    width: 100%;
    height: 50px;
    line-height: 50px;
    border-bottom: 1px solid #ddd;
    text-indent: 20px;
    position: absolute;
    top: 0;
    left: 0;
}
.chat-contR-operate span {
    text-indent: 0;
    display: inline-block;
    height: 30px;
    line-height: 30px;
    width: 50px;
    border: 1px solid #2da5ee;
    text-align: center;
    border-radius: 5px;
    margin-right: 15px;
    cursor: pointer;
}
/* 退出群组按钮 */
.chat-contR-operate .chat-btn-exit {
    width: 100px;
}

/* 加入群组按钮 */
.chat-contR-operate .chat-btn-join {
    width: 100px;
}

.chat-contR-operate .active {
    background-color: #2da5ee;
    color: #fff;
}
.chat-history {
    display: none;
    width: 100%;
    height: 120px;
    line-height: 120px;
    text-indent: 20px;
    position: absolute;
    bottom: 0;
    left: 0;
    background: #f4f4f6;
}
.chat-history span {
    text-indent: 0;
    display: inline-block;
    height: 30px;
    line-height: 30px;
    width: 50px;
    text-align: center;
    border-radius: 5px;
    margin-right: 15px;
    cursor: pointer;
}
.chat-history span:hover {
    color: #E53573;
}
.chat-history-input {
    display: inline-block;
    height: 28px;
    line-height: 28px;
    width: 30px;
    text-align: center;
}
.chat-history .chat-history-totalPage {
    width: 20px;
}
.chat-history .chat-history-totalPage:hover {
    color: #333333;
}
#chat-input {
    width: 698px;
    height: 118px;
    border: 0;
    outline: none;
    padding: 12px 10px;
    position: absolute;
    bottom: 1px;
    left: 0;
}
.chat-contR-list-top {
    width: 100%;
    height: 32px;
    overflow: hidden;
}
.chat-tips {
    display: none;
    margin: 0 auto;
    width: 100%;
    height: 32px;
    line-height: 32px;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    color: #E53573;
}
.chat-more {
    display: none;
    margin: 0 auto;
    width: 100px;
    height: 32px;
    line-height: 32px;
    position: absolute;
    top: 0;
    left: 299px;
}
.chat-contR-IM {
    width: 100%;
    height: 520px;
    overflow: hidden;
    background-color: #fafafa;
}
.chat-contR-list {
    width: 100%;
    height: auto;
    padding-top: 32px;
    position: relative;
}
.chat-contR-item {
    display: block;
    width: auto;
    height: auto;
    overflow: hidden;
    margin:10px 20px;
}
.chat-notification {
    width: 50%;
    text-align: center;
    margin: 0 auto;
    background-color: #ccc;
    padding: 3px 5px;
    border-radius: 10px;
    color: #ffffff;
}
.chat-contR-item-userPic {
    width: 50px;
    height: 50px;
    border: 1px solid #ccc;
    border-radius: 50%;
    margin-right: 10px;
    overflow: hidden;
}
.chat-contR-item-userPic img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
.chat-contR-item-name {
    width: auto;
    height: 26px;
    line-height: 26px;
}
.chat-contR-item-content {
    width: auto;
    max-width: 402px;
    height: auto;
    overflow: hidden;
}
.chat-contR-item-content > span {
    display: inline-block;
    border:1px solid #ddd;
    background-color: #fff;
    line-height: 28px;
    border-radius: 5px;
    padding: 8px 12px;
    word-wrap:break-word;   
    word-break:break-all;
}
.chat-contR-item-content > span > span {
    border: 0;
    background-color: none;
    border-radius: 0;
    padding: 0;
    vertical-align: middle;
}
.chat-contR-item-content img {
    width: auto;
    max-width: 376px;
    height: auto;
    cursor: pointer;
}
.chat-contR-item-time {
    display: inline-block;
    width: auto;
    border-radius: 5px;
    color: #fff;
    background-color: #ccc;
    padding: 3px 5px;
    margin-top: 4px;
}
.chat-customer-service .chat-contR-item-userPic {
    margin-left: 10px;
}
.chat-customer-service .chat-contR-item-content {
    margin-top: 26px;
}
.chat-customer-service .chat-contR-item-name {
    display: none;
}
.chat-showVoice {
    display: block;
    width: auto;
    height: 20px;
    line-height: 20px;
    text-indent: 24px;
    background-image: url("/static/images/icon_wifi.png");
    background-size: contain;
    background-position: left center;
    background-repeat: no-repeat;
}
.chat-popup {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1001;
}
.chat-mask {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0,0,0,0.6);
}
.chat-showPic {
    display: table;
    margin: 0 auto;
    height: 100%;
    position: relative;
    z-index: 1002;
}

/* 历史消息盒子按钮 */
.chat-btn-history {
    text-indent: 0;
    display: inline-block;
    height: 30px;
    line-height: 30px;
    width: 100px;
    text-align: center;
    border-radius: 5px;
    cursor: pointer; 
    position: absolute;
    top: 10px;
    right: 15px;
}
.chat-closedReason {
    width: auto;
    position: absolute;
    top: 0;
    right: 20px;
    height: 50px;
    line-height: 50px;
}

/* 付款信息 */ 
.chat-PayMsg-box {
    width: 300px;
    height: 120px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    color: #ffffff;
    cursor: pointer;
}
.chat-PayMsg-content {
    width: 100%;
    height: 90px;
    background-color: #f56d9d;
    background-image: url("/static/images/im_pay_bubble_ic@3x.png");
    background-size: 60px 60px;
    background-repeat: no-repeat;
    background-position: 50px 15px;
    font-size: 20px;
    line-height: 90px;
    text-indent: 130px;
}

/* 付款信息 */
.billModal .modal-dialog {
    width: 400px;
}
.bill-logo {
    width: 60px;
    height: 60px;
    overflow: hidden;
    margin:30px auto 0 auto;
    background-color: #e6e6e6;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.bill-name {
    width: 100%;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 30px;
    font-size: 18px;
}
.billModal .modal-title {
    text-align: center;
}
.billModal .modal-title b {
    padding-left: 16px;
}
.billModal .modal-body {
    padding: 0;
}
.bill-row {
    width: auto;
    padding: 0 40px;
    text-align: center;
    line-height: 60px;
    overflow: hidden;
    border-top: 1px solid #e6e6e6;
}
.bill-remarks {
    width: 220px;
    text-align: right;
    overflow: hidden;
    line-height: 24px;
    padding: 18px 0;
}
